package com.lijin.workshop.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.lijin.workshop.dao.mybatis.mapper.EmployeeMapper;
import com.lijin.workshop.dao.mybatis.model.Employee;
import com.lijin.workshop.dao.mybatis.model.EmployeeExample;

@Service(value="employeeService")
public class EmployeeService extends BaseService {

	private EmployeeMapper employeeMapper;

	public List<Employee> getEmployees(Map<String, String> qryParamMap) {
		return employeeMapper.selectByExample(new EmployeeExample());
	}

	/**
	 * @param employeeMapper the employeeMapper to set
	 */
	public void setEmployeeMapper(EmployeeMapper employeeMapper) {
		this.employeeMapper = employeeMapper;
	}
	
}
